package com.wf.mall.service;

import com.wf.mall.entity.ResponseBody;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "provider-serivice")
public interface ConsumerService {

    @GetMapping("/provider/buy")
    ResponseBody buyProduct(String productId);
}
